* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

#app {
    width: 100%;
    height: 600px;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    /* background-color: pink; */
    background: url(../images/bg1.jpg) no-repeat;
    background-size: 100% 100%;
}

.search {
    font-size: 0px;
}

header {
    width: 100%;
    padding-top: 30px;
}

header h2 {
    height: 70px;
    text-align: center;
    color: rgb(95, 134, 241);
    font-size: 40px;
    font-weight: 450;
    text-shadow: 1px 1px rgba(0, 0, 0, .3);
}

/* 搜索栏模块 */

.nav {
    /* position: relative; */
    width: 100%;
    height: 40px;
    margin-top: 50px;
    margin-left: 50%;
    transform: translateX(-33%);
}

.nav_hd {
    width: 60%;
    height: 40px;
    border: 1px solid skyblue;
    outline: none;
    font-size: 16px;
    color: rgb(115, 117, 122);
    text-indent: .5rem;
}

.nav_bd {
    height: 40px;
    width: 10%;
    /* position: absolute; */
    top: 0;
    right: 125px;
    border: 0;
    background-color: skyblue;
    outline: none;
    vertical-align: top;
}

.mouse {
    color: rgb(255, 255, 255);
    background-color: rgb(94, 209, 255);
    transition: all .4s;
}

.city a {
    margin-right: 5px;
    color: rgb(114, 111, 111);
}

/* 天气展示界面 */

.show {
    padding: 0 5px;
    width: 100%;
    margin-top: 180px;
}

.show ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.show ul li {
    width: 20%;
}

.show ul li:nth-child(-n + 4) {
    border-right: 1px solid rgb(185, 174, 174);
}

.show ul li h4 {
    text-align: center;
    color: rgb(218, 218, 90);
    font-weight: 400;
}

.show ul li p {
    text-align: center;
    color: rgb(226, 49, 49);
    padding: 5px 0;
}

.show ul li h5 {
    text-align: center;
}